You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > RealToCplx Method > TOpenCLMtxVec.RealToCplx Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.RealToCplx Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)

Construct a complex object from the ReVec elements [ReIndex]..[ReIndex+Len-1] (real part) and the ImVec elements [ImIndex]..[ImIndex+Len-1] (imaginary part).

Syntax
C#
Visual Basic
public TOpenCLMtxVec RealToCplx([In] TOpenCLMtxVec ReVec, [In] TOpenCLMtxVec ImVec, int ReIndex, int ImIndex, int Index, int Len);

The results are stored to calling object elements [Index]..[Index+Len-1]. Size and TOpenCLBase.ComplexComplexproperties of the calling object must be set explicitly. An exception is raised if array borders are overrun. An exception is also raised if ReVec or ImVec TOpenCLBase.ComplexComplexproperty is True.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!